<?php

namespace app\common\model;

use think\Model;

class OpinionFeedback extends Model
{
    //用户意见反馈
    const USER_BACK = 1;
    //跑男意见反馈
    const RUNMAN_BACK = 2;
    protected $autoWriteTimestamp = true;
    protected $type = [
        'create_time'    =>  'integer',
    ];
    public function user(){
        return $this->belongsTo('User');
    }
}
